home *** CD-ROM | disk | FTP | other *** search
/ Ian & Stuart's Australian Mac: Not for Sale / Another.not.for.sale (Australia).iso / fade into you / getting there / Apps / MOO-1.7.6.src / inc / my-stat.h < prev    next >
Text File  |  1994-11-02  |  1KB  |  41 lines

  1. /******************************************************************************
  2.   Copyright (c) 1992 Xerox Corporation.  All rights reserved.
  3.   Portions of this code were written by Stephen White, aka ghond.
  4.   Use and copying of this software and preparation of derivative works based
  5.   upon this software are permitted.  Any distribution of this software or
  6.   derivative works must comply with all applicable United States export
  7.   control laws.  This software is made available AS IS, and Xerox Corporation
  8.   makes no warranty about the software, its performance or its conformity to
  9.   any specification.  Any person obtaining a copy of this software is requested
  10.   to send their name and post office or electronic mail address to:
  11.     Pavel Curtis
  12.     Xerox PARC
  13.     3333 Coyote Hill Rd.
  14.     Palo Alto, CA 94304
  15.     Pavel@Xerox.Com
  16.  *****************************************************************************/
  17.  
  18. #include "config.h"
  19.  
  20. #include <sys/stat.h>
  21.  
  22. #if NDECL_FSTAT
  23. #include "my-types.h"
  24.  
  25. extern int    fstat(int, struct stat *);
  26. extern int    mkfifo(const char *, mode_t);
  27. #endif
  28.  
  29. #if !HAVE_MKFIFO
  30. extern int mknod(const char *file, int mode, int dev);
  31. #define mkfifo(path, mode)    mknod(path, S_IFIFO | (mode), 0)
  32. #endif
  33.  
  34. /* $Log: my-stat.h,v $
  35.  * Revision 1.2  1992/10/23  23:03:47  pavel
  36.  * Added copyright notice.
  37.  *
  38.  * Revision 1.1  1992/10/23  22:25:00  pavel
  39.  * Initial RCS-controlled version.
  40.  * */
  41.